package com.blog.Bard.base.service;

import java.util.List;
import java.util.Map;

import com.blog.Bard.base.pojo.User;
import com.blog.Bard.common.service.BaseService;

public interface UserService extends BaseService{

	/**
	 * 查找所有用户
	 * @return
	 * @throws Exception
	 */
	List<User> findAll() throws Exception;
	
	/**
	 * 登录检查
	 * @param name
	 * @param password
	 * @return
	 * @throws Exception
	 */
	Map<String,Object> loginCheck(String name, String password) throws Exception;
	
}
